package pwd.allen.byteBuddy.methodIntercept;

import net.bytebuddy.implementation.bind.annotation.AllArguments;
import net.bytebuddy.implementation.bind.annotation.Morph;
import net.bytebuddy.implementation.bind.annotation.This;
import pwd.allen.byteBuddy.other.MyCallable;

import java.util.Arrays;

/**
 *
 * @author pwdan
 * @create 2023-06-28 17:10
 **/
public class MethodIntercept4 {

    /**
     * 处理构造方法
     */
    public static void delegation(@This Object targetObj) {
        System.out.println(targetObj + "被实例化了");
    }
}
